#include <iostream>
#include <map>
using namespace std;
int main(){
	map<char,int> map1;
	map<char,int>::key_compare map_comp = map1.key_comp();
	map1['a'] = 100;
	map1['b'] = 200;
	map1['c'] = 300;
	cout<<"map1 contain:\n";
	char highest = map1.rbegin()->first;
	map<char,int>::iterator it = map1.begin();
	do{
		cout<<it->first<<" ==> "<< it->second<<"\n";
	}while((map_comp((*it++).first,highest)));
	cout<<"\n";
	return 0;
}
